package com.kai.auth.enums;

import com.kai.common.exception.ErrorCode;
import com.kai.common.exception.ErrorCodeConstants;

/**
 * <p>
 * auth模块错误码枚举
 * </p>
 *
 * @author weijk
 * @since 2023/7/16
 */
public interface AuthErrorCodeConstants extends ErrorCodeConstants {

    ErrorCode NO_LOGIN = new ErrorCode(40000, "未登录");
    ErrorCode TOKEN_IS_NULL = new ErrorCode(40001, "token为空");
    ErrorCode TOKEN_EXPIRATION = new ErrorCode(40002, "token过期");
    ErrorCode UNAUTHORIZED = new ErrorCode(40003, "未授权");
    ErrorCode TOKEN_ERROR = new ErrorCode(40004, "token异常");

}
